package com.qhx.backme.exception;

import com.qhx.backme.model.vo.ResultVO;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * 异常
 *
 * @author: qhx20040819
 * @date: 2023-10-23 21:55
 **/

@Data
@NoArgsConstructor
public class SupplyChainException extends RuntimeException{
    ResultVO resultVO;


    public SupplyChainException(ResultVO resultVO) {
        this.resultVO = resultVO;
    }

    public SupplyChainException(String message) {
        super(message);
    }
}
